package com.wdb.modules.mnt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wdb.modules.mnt.domain.Database;
import com.wdb.modules.mnt.domain.vo.DatabaseQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: wendaobai@qq.com
 * @date: 2024/9/4 星期三 10:28
 */
@Mapper
public interface DatabaseMapper extends BaseMapper<Database> {
    IPage<Database> findAll(@Param("criteria") DatabaseQueryCriteria criteria, Page page);
}
